package com.cqc.other.juc.producerConsumer.demo2;


public class ConsumerThread extends Thread {

    private Container container;

    public ConsumerThread(Container container) {
        this.container = container;
    }

    @Override
    public void run() {
        for (int i = 0; i < 4; i++) {
            container.get();
        }
    }
}
